.banner {
  display: flex;
  justify-content: center;
  height: 680px;
  background-image: url('../assets/image/prodect-center/prodC.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 267px;
}

.banner-content {
  width: 80%;
}

.banner-content-title {
  font-size: 60px;
  font-weight: 500;
}

.product-detail-container {
  width: 100%;
  max-width: 1448px;
  margin: 0 auto;
  padding: 0px 20px 82px;
}

.nav-bar-box {
  margin-top: 40px;
  margin-bottom: 10px;
  overflow-x: scroll;
  font-size: 14px;
  color: #666666;
  line-height: 20px;
  text-wrap: nowrap;
  /* 隐藏滚动条但保持可滚动 */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-bar-box img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.nav-bar-box a:hover {
  color: #FFC637 !important;
}

.nav-bar-box span {
  color: #999;
}

.product-qr-code {
  width: 24px;
  height: 24px;
  background-image: url('../image/home/product_detail_qricon.png');
  background-size: 100% 100%;
  background-position: center;
}

.product-card {
  width: 100%;
  display: flex;
  gap: 64px;
}

.product-image {
  flex: 0 0 50%;
  max-width: 644px;
}

.product-image img {
  width: 100%;
  height: auto;
}

.product-info {
  flex: 1;
}

.brand {
  font-weight: 500;
  font-size: 20px;
  color: #FFC637;
  line-height: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.product-title {
  font-weight: 500;
  font-size: 36px;
  color: #1A1A1A;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 32px;
}

.qr-code-box {
  position: relative;
}

.product-title .product-code {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.mobile-qr-code-box {
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
}

.hover-image {
  position: absolute;
  transform: translateX(30px) translateY(20px);
  width: 220px;
  height: 220px;
  padding: 10px;
  background: #FFFFFF;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
  border-radius: 12px 12px 12px 12px;
  border: 1px solid #E5E6EB;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.qr-code-box:hover .hover-image {
  opacity: 1;
  visibility: visible;
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: #d8d8d8;
}

.section-title {
  font-weight: 500;
  font-size: 18px;
  color: #333333;
  line-height: 20px;
  margin: 32px 0 20px;
}

.product-desc {
  font-size: 14px;
  color: #666666;
  line-height: 26px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.feature-icon {
  width: 32px;
  height: 32px;
}

.feature-text {
  font-size: 14px;
  color: #666666;
  line-height: 20px;
}

/* 技术参数表 */
.table-box {
  width: 100%;
}

.table-box .title {
  font-weight: 500;
  font-size: 30px;
  color: #1A1A1A;
  line-height: 34px;
  margin: 32px 0;
}

.table-wrapper {
  position: relative;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  text-align: center;
  border: 1px solid #d8d8d8;
  white-space: nowrap;
}

th {
  background: #F2F3F8;
  font-size: 18px;
  color: #3D3D3D;
  line-height: 20px;
  height: 63px;
}

td {
  font-size: 14px;
  color: #3D3D3D;
  line-height: 20px;
  height: 48px;
}

tr:hover {
  background: #f9f9f9;
}

/* 第一列固定宽度 */
th:first-child,
td:first-child {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

/* 其他列固定宽度 */
th:not(:first-child),
td:not(:first-child) {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
}

/* 确保内容不会溢出 */
th,
td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

th:first-child {
  z-index: 2;
}

td:first-child {
  background: #fff;
}

tr:hover td:first-child {
  background: #f9f9f9;
}

td:first-child::after,
th:first-child::after {
  content: '';
  position: absolute;
  top: 0;
  right: -5px;
  width: 5px;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
}

.table-box .note {
  margin-top: 32px;
  font-weight: 500;
  font-size: 14px;
  color: #585755;
  line-height: 18px;
}

.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.qr-container {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 80%;
  max-width: 300px;
  position: relative;
}

@media screen and (max-width: 1330px) {
  .hover-image {
    transform: translateX(-50%) translateY(50px);
  }
}

/* 1200px */
@media screen and (max-width: 1200px) {
  .banner {
    padding-top: 236px;
  }

  .banner-content-title {
    font-size: 74px;
  }

  .nav-bar-box {
    margin-top: 30px;
  }

  .product-image {
    max-width: 540px !important;
  }

  .table-box .title {
    margin: 64px 0 32px;
  }

  /* 第一列固定宽度 */
  th:first-child,
  td:first-child {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }

  /* 其他列固定宽度 */
  th:not(:first-child),
  td:not(:first-child) {
    width: 208px;
    min-width: 208px;
    max-width: 208px;
  }
}

@media screen and (max-width: 1100px) {
  .hover-image {
    transform: translateX(-100%) translateY(50px);
  }
}

@media screen and (max-width: 900px) {
  .banner {
    height: 428px;
    padding-top: 180px;
  }

  .banner-content-title {
    font-size: 44px;
  }

  .product-card {
    display: block;
  }

  .product-image {
    max-width: 644px !important;
    margin: 0 auto;
  }

  .brand {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .hover-image {
    transform: translateX(30px) translateY(20px);
  }

  .features-grid {
    display: flex;
    justify-content: space-between;
  }
}

/* 576px */
@media screen and (max-width: 576px) {
  .banner {
    height: 260px;
    padding-top: 130px;
  }

  .banner-content-title {
    font-size: 36px;
  }

  .product-detail-container {
    padding-bottom: 10px;
  }

  .nav-bar-box {
    margin-top: 15px;
  }

  .nav-bar-box img {
    width: 15px;
    height: 15px;
    margin-right: 4px;
  }

  .brand {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .product-title {
    font-size: 25px;
    line-height: 26px;
    gap: 4px;
    margin-bottom: 15px;
  }

  .hover-image {
    transform: translateX(-50%) translateY(50px);
  }

  .section-title {
    margin: 20px 0 10px;
  }

  .product-desc {
    line-height: 24px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-icon {
    width: 20px;
    height: 20px;
  }

  /* 第一列固定宽度 */
  th:first-child,
  td:first-child {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
  }

  /* 其他列固定宽度 */
  th:not(:first-child),
  td:not(:first-child) {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
  }

  th {
    font-size: 15px;
    height: 50px;
  }

  .table-box .note {
    margin-top: 20px;
    font-size: 13px;
    line-height: 20px;
  }
}